package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
	"time"
)

type UserBindingAccount struct {
	Uid            int       `json:"uid"  sql:"int"`           //int(64) NOT NULL,
	Account        string    `json:"title" sql:"varchar(100)"` //varchar(100) DEFAULT NULL COMMENT '绑定的6T账号',
	Status         int       `json:"status"`                   //int(1) DEFAULT '0' COMMENT '0-绑定成功未确认 1-绑定成功已确认 2-解绑',
	CreateTime     time.Time `json:"create_time"`
	FirstCheckTime time.Time `json:"first_check_time"`
	Deleted        int       `json:"deleted"` //int(11) DEFAULT 0,
}

func (UserBindingAccount) TableName() string {
	return fmt.Sprintf("%suser_binding_6taccount", models.Prefix)
}
